home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / c++ / complex.z / complex
Text File  |  1998-10-30  |  5KB  |  67 lines

  1.  
  2.  
  3.  
  4. CCCCPPPPLLLLXXXX....IIIINNNNTTTTRRRROOOO((((3333CCCC++++++++))))                                              CCCCPPPPLLLLXXXX....IIIINNNNTTTTRRRROOOO((((3333CCCC++++++++))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      complex - introduction to C++ complex mathematics library
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_...._hhhh_>>>>
  13.      _cccc_llll_aaaa_ssss_ssss     _cccc_oooo_mmmm_pppp_llll_eeee_xxxx_;;;;
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This section describes functions and operators found in the C++ Complex
  17.      Mathematics Library, _llll_iiii_bbbb_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_...._aaaa.  These functions are not automatically
  18.      loaded by the C++ compiler, _CCCC_CCCC(1); however, the link editor searches this
  19.      library under the _----_llll_cccc_oooo_mmmm_pppp_llll_eeee_xxxx option.  Declarations for these functions may
  20.      be found in the _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee file _<<<<_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_...._hhhh_>>>>.  When compiling programs using
  21.      the complex library, users must provide the _----_llll_mmmm options on the _CCCC_CCCC command
  22.      line to link the math library.
  23.  
  24.      The Complex Mathematics library implements the data type of complex
  25.      numbers as a class, _cccc_oooo_mmmm_pppp_llll_eeee_xxxx.  It overloads the standard input, output,
  26.      arithmetic, assignment, and comparison operators, discussed in the manual
  27.      pages for _cccc_pppp_llll_xxxx_oooo_pppp_ssss(3C++).  It also overloads the standard exponential,
  28.      logarithm, power, and square root functions, discussed in _cccc_pppp_llll_xxxx_eeee_xxxx_pppp(3C++),
  29.      and the trigonometric functions of sine, cosine, hyperbolic sine, and
  30.      hyperbolic cosine, discussed in _cccc_pppp_llll_xxxx_tttt_rrrr_iiii_gggg(3C++), for the class _cccc_oooo_mmmm_pppp_llll_eeee_xxxx.
  31.      Routines for converting between Cartesian and polar coordinate systems
  32.      are discussed in _cccc_aaaa_rrrr_tttt_pppp_oooo_llll(3C++).  Error handling is described in
  33.      _cccc_pppp_llll_xxxx_eeee_rrrr_rrrr(3C++).
  34.  
  35. FFFFIIIILLLLEEEESSSS
  36.      _IIII_NNNN_CCCC_DDDD_IIII_RRRR_////_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_...._hhhh
  37.      _LLLL_IIII_BBBB_DDDD_IIII_RRRR_////_llll_iiii_bbbb_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_...._aaaa
  38.  
  39. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  40.      _cccc_aaaa_rrrr_tttt_pppp_oooo_llll(3C++), _cccc_pppp_llll_xxxx_eeee_rrrr_rrrr(3C++), _cccc_pppp_llll_xxxx_oooo_pppp_ssss(3C++), _cccc_pppp_llll_xxxx_eeee_xxxx_pppp(3C++), and
  41.      _cccc_pppp_llll_xxxx_tttt_rrrr_iiii_gggg(3C++).
  42.      Stroustrup, B., ``Complex Arithmetic in C++,'' Chapter 1 of the _C++
  43.      _L_a_n_g_u_a_g_e _S_y_s_t_e_m _R_e_l_e_a_s_e _2._1 _L_i_b_r_a_r_y _M_a_n_u_a_l.
  44.  
  45. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  46.      Functions in the Complex Mathematics Library (3C++) may return the
  47.      conventional values _((((_0000_,,,, _0000_)))), _((((_0000_,,,, _++++_____HHHH_UUUU_GGGG_EEEE_)))), _((((_++++_____HHHH_UUUU_GGGG_EEEE_,,,, _0000_))))_,,,, or _((((_++++_____HHHH_UUUU_GGGG_EEEE_,,,, _++++_____HHHH_UUUU_GGGG_EEEE_)))),
  48.      when the function is undefined for the given arguments or when the value
  49.      is not representable.  _((((_HHHH_UUUU_GGGG_EEEE is the largest-magnitude single-precision
  50.      floating-point number and is defined in the file _<<<<_mmmm_aaaa_tttt_hhhh_...._hhhh_>>>>.  The header
  51.      file _<<<<_mmmm_aaaa_tttt_hhhh_...._hhhh_>>>> is included in the file _<<<<_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_...._hhhh_>>>>.)  In these cases, the
  52.      external variable _eeee_rrrr_rrrr_nnnn_oooo [see _iiii_nnnn_tttt_rrrr_oooo(2)] is set to the value _EEEE_DDDD_OOOO_MMMM or
  53.      _EEEE_RRRR_AAAA_NNNN_GGGG_EEEE.
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.